package chinaums.plugin.https;


/**
 * 内部接口规范返回码常量定义
 * 符合《银联商务内部接口规范 V0.6的定义》
 * @author liyongjie
 *
 */
public class ErrorConstants {
	
	public static final String ERROR_CODE_NO_ERROR = "20000000";
	public static final String ERROR_MSG_NO_ERROR = "成功";
	
	public static final String ERROR_CODE_BUSINESS_ERROR = "20009999";
	public static final String ERROR_MSG_BUSINESS_ERROR = "业务处理错";
	
	public static final String ERROR_CODE_SYSTEM_CLOSED = "20000001";
	public static final String ERROR_MSG_SYSTEM_CLOSED = "系统关闭时间";
	
	public static final String ERROR_CODE_NO_SERVICE_FOUND = "20000002";
	public static final String ERROR_MSG_NO_SERVICE_FOUND = "服务不存在";
	
	public static final String ERROR_CODE_NO_CHANNEL_FOUND = "20000003";
	public static final String ERROR_MSG_NO_CHANNEL_FOUND = "来源渠道不存在";
	
	public static final String ERROR_CODE_NO_SERVICE_PROCESSOR_FOUND = "20000004";
	public static final String ERROR_MSG_NO_SERVICE_PROCESSOR_FOUND = "主机服务处理器不存在";
	
	public static final String ERROR_CODE_SIGN_VERIFY_FIALED = "20001001";
	public static final String ERROR_MSG_SIGN_VERIFY_FIALED = "签名校验失败";
	
	public static final String ERROR_CODE_TOO_FREQUENT_ACCESS = "20001002";
	public static final String ERROR_MSG_TOO_FREQUENT_ACCESS = "请求频率超限";
	
	public static final String ERROR_CODE_TOO_IP_PORBIDDEN = "20001003";
	public static final String ERROR_MSG_TOO_IP_PORBIDDEN = "IP受限";
	
	public static final String ERROR_CODE_SERVICE_ACCESS_DENIED = "20001004";
	public static final String ERROR_MSG_SERVICE_ACCESS_DENIED = "无接口调用权限";
	
	public static final String ERROR_CODE_SERVER_BUSY = "20001005";
	public static final String ERROR_MSG_SERVER_BUSY = "服务器忙";
	
	public static final String ERROR_CODE_REQUEST_EVICTED = "20001005";
	public static final String ERROR_MSG_REQUEST_EVICTED = "服务器忙，请求拒绝";
	
	public static final String ERROR_CODE_PARAMETER_ERROR = "20001006";
	public static final String ERROR_MSG_PARAMETER_ERROR = "格式错误";
	
	public static final String ERROR_CODE_INSUFFICIENT_RESERVE_AMT = "20001010";
	public static final String ERROR_MSG_INSUFFICIENT_RESERVE_AMT = "商户备付金不足";
	
	public static final String ERROR_CODE_HOST_ERROR = "20003001";
	public static final String ERROR_MSG_HOST_ERROR = "主机处理错";
	
	public static final String ERROR_CODE_HOST_NO_RESPONSE = "20003002";
	public static final String ERROR_MSG_HOST_NO_RESPONSE = "主机无应答";
	
	public static final String ERROR_CODE_HOST_CONNECT_ERROR = "20003003";
	public static final String ERROR_MSG_HOST_CONNECT_ERROR = "主机通讯错";
	
	public static final String ERROR_CODE_INVALID_CARD_NO = "20004001";
	public static final String ERROR_MSG_INVALID_CARD_NO = "无效卡";
	
	public static final String ERROR_CODE_INVALID_CERT_TYPE = "20004002";
	public static final String ERROR_MSG_INVALID_CERT_TYPE = "无效证件类型";
	
	public static final String ERROR_CODE_INVALID_CERT_NO = "20004003";
	public static final String ERROR_MSG_INVALID_CERT_NO = "无效证件号";
	
	public static final String ERROR_CODE_INVALID_PHONE_NO = "20004004";
	public static final String ERROR_MSG_INVALID_PHONE_NO = "无效手机号";
	
	public static final String ERROR_CODE_INVALID_NAME = "20004005";
	public static final String ERROR_MSG_INVALID_NAME = "无效姓名";
	
	public static final String ERROR_CODE_INVALID_COOR_TYPE = "20004006";
	public static final String ERROR_MSG_INVALID_COOR_TYPE = "无效坐标系";
	
	public static final String ERROR_CODE_INVALID_LOC = "20004007";
	public static final String ERROR_MSG_INVALID_LOC = "无效坐标";
	
	public static final String ERROR_CODE_INVALID_LOC_OVERSEAS = "20004008";
	public static final String ERROR_MSG_INVALID_LOC_OVERSEAS = "境外坐标";
	
	public static final String ERROR_CODE_NO_DATA = "20004009";
	public static final String ERROR_MSG_NO_DATA = "无数据";
	
	//楠云卡标签
	public static final String ERROR_CODE_NANYUN_NO_LABEL = "20003003";
	public static final String ERROR_MSG_NANYUN_NO_LABEL = "无此卡标签";
	
	public static final String ERROR_CODE_NANYUN_DUPLICATE = "20003004";
	public static final String ERROR_MSG_NANYUN_DUPLICATE = "卡清单文件重复提交";
	
	public static final String ERROR_CODE_NANYUN_FILE_SIZE = "20003005";
	public static final String ERROR_MSG_NANYUN_FILE_SIZE = "卡清单文件行数出错";
	
	public static final String ERROR_CODE_NANYUN_CARDNO = "20003006";
	public static final String ERROR_MSG_NANYUN_CARDNO = "卡号校验失败";
	
	public static final String ERROR_CODE_NANYUN_FILE = "20003007";
	public static final String ERROR_MSG_NANYUN_FILE = "无此文件";
	
	public static final String ERROR_CODE_NANYUN_FILETRANS = "20003008";
	public static final String ERROR_MSG_NANYUN_FILETRANS = "无此流水号";
	
}
